Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can you tell Safari what app to use to open document links?

How do you determine what application will open up document links in Safari? I am creating a website with many links to xls, xlsx, ppt, pptx, doc, docx documents. When I click on one of these links, it either downloads the file if I have published the site to a host site, or brings me to the file in Finder if the website is accessed from a local drive. In other words, the site was exported and not published.


But if I click on a link to a Pages, Numbers or Keynote file, it opens it up the linked document in that application regardless of whether I'm going from the published site or from the exported site on a local folder. I'd like the above Microsoft file types to automatically open up in their appropriate apps as well.


I know how to set what application gets opened on your Mac when you open a file depending on the file extension, but is there a way to tell Safari how to do this too?? For example, I've got doc and docx files set up to open Pages when I open those types of files which works fine on my Mac. But the same behavior doesn't hold true when opening these documents from Links on a web page in Safari. I thought this method would flow through and work the same way when opening document links in Safari, but it apparently doesn't.

iMac, Mac OS X (10.7.4), iPhone 4 16GB / iPad 3 32GB

Posted on Jun 20, 2012 10:36 AM

Reply
4 replies

Jun 20, 2012 1:56 PM in response to eddieb3

I have returned to Safari 5.0.6 after using Firefox for a while and am surprised it does not appear to hand control to other applications such as Word. If it can I have not yet discovered how to invoke it.


This appears to be a WebKit issue as iCab appears to have the same limitation.


It clearly works for some file types eg PDF but in my tests I could not get it to open .doc files with anything.

Jun 20, 2012 2:11 PM in response to Neville Hillyer

Yeah, Firefox looks like it has the ability to define what file types will automatically open in what apps when you click those types of docs on a web page. Too bad Safari doesn't do that.


Since I am more concerned about others when they acces the website I am creating, a plug-in doesn't really help anyhow because you can't expect everyone to have one. But if it downloads, that will ahve to be good enough.

Can you tell Safari what app to use to open document links?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.